<html>
<script>
function log(msg){
	console.log(msg);
}
function onCancel(e){
	console.log(e);
}
function onComplete(e){
	console.log(e);
}
function onProgress(e){
	console.log(e);
}
function onError(e){
	console.log(e);
}
function onSizeError(e){
	console.log(e);
}
function onSelect(e){
	console.log(e);
}
function onOpen(e){
	console.log(e);
}
function onUploadEnd(e){
	console.log(e);
}

function cancel(){
	document.getElementById("uploader").cancel();
}
</script>
<body>
<div style="width:100%;height:100%">
<EMBED id="uploader" src="Uploader.swf?maxsize=300&logo=http://static.youku.com/v1.0.0752/index/img/youkulogo-s.png&url=test_upload.php&field=file" quality=high bgcolor="#cccccc" WIDTH="100%" HEIGHT="100%" NAME="Yourfilename" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</div>
</body>
</html>
